package org.edu.modules.oa.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;

@Data
//数据表名
@TableName("ve_oa_meet_users")
//返回值变程对象本身
@Accessors(chain = true)
//重写toString方法
@EqualsAndHashCode(callSuper = false)
public class VeOaMeetUsersEntity {
    /**主键id*/
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Long id;

    @Excel(name = "会议id", width = 15)
    @ApiModelProperty(value = "会议id")
    @TableField(value = "meet_id")
    private Integer meetId;

    @Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
    @TableField(value = "user_id")
//    private Integer userId;
    private String userId;

    @Excel(name = "用户名称", width = 15)
    @ApiModelProperty(value = "用户名称")
    @TableField(value = "user_name")
    private String userName;

    @Excel(name = "用户名称", width = 15)
    @ApiModelProperty(value = "用户名称")
    @TableField(value = "is_sign")
    private Integer isSign;

    //创建人
    @Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
    @TableField(value = "create_by")
    private String createBy;

    //创建时间
    @Excel(name = "创建时间", width = 15)
    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    //修改人
    @Excel(name = "修改人", width = 15)
    @ApiModelProperty(value = "修改人")
    @TableField(value = "update_by")
    private String updateBy;

    //修改时间
    @Excel(name = "修改时间", width = 15)
    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    //终端id
    @Excel(name = "终端id", width = 15)
    @ApiModelProperty(value = "终端id")
    @TableField(value = "terminalId")
    private Integer terminalId;

}
